How Do I Set Up the Keil µVision2 Debugger to Work with FastChip and the Triscend E5 CSoC?

Setting up Keil to work with FastChip is relatively easy using the automatic installation features on FastChip 2.3.0 and later.

 Install the Keil µVision2 software on your computer.

 Install or re-install the Triscend FastChip software on your computer.  If re-installing the software, you do not need to uninstall the software first.

 When you reach the Triscend Default Target dialog box, select Triscend E5 Development Kit OR E5 with Macraigor Wiggler Probe.  Click Next >.

 

 Choose µVision2 – C51 v. 6.x + higher. Click Next >.

 Click Browse and select the path to your Keil installation.  Be sure to point to Keil’s \C51\Bin subdirectory.  Click Next >.

 

  If you previously installed earlier versions of FastChip, the port number used to communicate between the Keil debugger and the JTAG download/debug cable has changed.  Further modifications may be required.  Click OK and finish the FastChip installation process.

 If FastChip 2.3.0 is your first version of FastChip, then your Keil/FastChip environment should be set up automatically.

If you previously installed an earlier version of FastChip, you may need to modify some settings within the Keil software package itself.  Invoke Keil µVision2 and select your E5 software project.

 In the µVision2 hierarchy tree, click on the root object, usually called Target 1.

 From the µVision2 menu, select Project ŕ Options for Target.

 Click the Debug tab.  Select Triscend E5 Driver to connect the µVision2 debugger to a Triscend E5 design via the Macraigor JTAG cable.  Choose the Use option to perform in-system debugging on the Triscend E5 via JTAG instead of using µVision2’s instruction-set simulator.

 Click Settings.

 Set the Port to 5005.  Leave the Host set to localhost if the JTAG cable is connected to the parallel port on your computer.  Alternatively, you can specify the hostname of another computer on your network.  The other host must be running the Triscend MultiJTAG Server (TMJS) and have the JTAG cable connected to its parallel port.  Click OK.

FastChip and Keil are now set up to communicate with one another and the Triscend E5 CSoC device.

 

FastChip Version: 2.3.0

This solution may or may not apply to other versions of the FastChip development system.

 

®

© 2002 by Triscend Corporation.  All rights reserved.